let appSwitchAction = new AppSwitchAction();
appSwitchAction.connect('activated', this._switchApp.bind(this));
- global.stage.add_action(appSwitchAction);
+ global.stage.add_action_full('app-switch', Clutter.EventPhase.CAPTURE, appSwitchAction);
let mode = Shell.ActionMode.ALL & ~Shell.ActionMode.LOCK_SCREEN;
let topDragAction = new EdgeDragAction.EdgeDragAction(St.Side.TOP, mode);
global.display.connect('notify::focus-window', updateUnfullscreenGesture);
global.display.connect('in-fullscreen-changed', updateUnfullscreenGesture);
- global.stage.add_action(topDragAction);
+ global.stage.add_action_full('unfullscreen', Clutter.EventPhase.CAPTURE, topDragAction);
this._workspaceAnimation =
new WorkspaceAnimation.WorkspaceAnimationController();